package com.zc.study.thread.多线程第三章节.thread3_4;

import javax.tools.Tool;

public class Test {
    public static void main(String[] args) {
        for (int i = 0;i<10;i++){
            System.out.println("在main中取到的值"+Tools.t1.get());
        }
        try {
            Thread.sleep(5000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        ThreadA a = new ThreadA();
        a.start();
    }
}
